﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hospital.Model
{
    public class User
    {
        #region Member
        private Guid id;
        private string userName;
        private string password;
        private string email;
        //private string gender;
        #endregion

        #region Construction
        public User()
        {
        }
        #endregion

        #region Public Property
        /// <summary>
        /// 用户Id
        /// </summary>
        public Guid Id
        {
            set { id = value; }
            get { return id; }
        }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            set { userName = value; }
            get { return userName; }
        }

        /// <summary>
        ///密码
        /// </summary>
        public string Password
        {
            set { password = value; }
            get { return password; }
        }

        /// <summary>
        /// 用户邮箱
        /// </summary>
        public string Email
        {
            set { email = value; }
            get { return email; }
        }
        #endregion
    }
}
